package com.swp.oa.sys.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.swp.oa.sys.pojo.Auth;
import com.swp.oa.sys.pojo.AuthExample;


public interface IAuthDao {
    int countByExample(AuthExample example);

    int deleteByExample(AuthExample example);

    int deleteByPrimaryKey(String authid);

    int insert(Auth record);

    int insertSelective(Auth record);

    List<Auth> selectByExampleWithBLOBs(AuthExample example);

    List<Auth> selectByExample(AuthExample example);

    Auth selectByPrimaryKey(String authid);

    int updateByExampleSelective(@Param("record") Auth record, @Param("example") AuthExample example);

    int updateByExampleWithBLOBs(@Param("record") Auth record, @Param("example") AuthExample example);

    int updateByExample(@Param("record") Auth record, @Param("example") AuthExample example);

    int updateByPrimaryKeySelective(Auth record);

    int updateByPrimaryKeyWithBLOBs(Auth record);

    int updateByPrimaryKey(Auth record);
    
    List<Auth> getAllList();
    
    List<Auth> getAllListWithBLOBs();
    
    Auth selectByCode(String code);

}